export const template = {
    "panels": [
        {
            "index": 0,
            "name": 1,
            "height": 90,
            "width": 50,
            "paperHeader": 0,
            "paperFooter": 303,
            "printElements": [
                {
                    "options": {
                        "left": -1.5,
                        "top": 4.5,
                        "height": 9.75,
                        "width": 136.5,
                        "title": "-系统物料信息-",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "fontSize": 10.5,
                        "qrCodeLevel": 0,
                        "right": 135.75,
                        "bottom": 12.75,
                        "vCenter": 67.5,
                        "hCenter": 7.875
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 3,
                        "top": 18,
                        "height": 9.75,
                        "width": 144,
                        "title": "系统名称",
                        "field": "materialName",
                        "testData": "卷尺",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0,
                        "right": 147,
                        "bottom": 27.75,
                        "vCenter": 75,
                        "hCenter": 22.875,
                        "hideTitle": true,
                        "fontSize": 10.5,
                        "qid": "materialCode_2"
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 3,
                        "top": 33,
                        "height": 9.75,
                        "width": 144,
                        "title": "系统编号",
                        "field": "materialCode",
                        "testData": "WZ1742815275795120",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0,
                        "right": 144,
                        "bottom": 33,
                        "vCenter": 72,
                        "hCenter": 28.125,
                        "hideTitle": true
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": -1.5,
                        "top": 51,
                        "height": 9.75,
                        "width": 120,
                        "title": "-客户物料信息-",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "fontSize": 10.5,
                        "qrCodeLevel": 0,
                        "right": 120,
                        "bottom": 58.5,
                        "vCenter": 60,
                        "hCenter": 53.625
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 1.5,
                        "top": 66,
                        "height": 9.75,
                        "width": 144,
                        "title": "客户名称",
                        "field": "clientMaterialName",
                        "testData": "卷尺306",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0,
                        "right": 160.74609375,
                        "bottom": 72.99609375,
                        "vCenter": 88.74609375,
                        "hCenter": 68.12109375,
                        "hideTitle": true,
                        "fontSize": 10.5,
                        "qid": "materialName_1",
                        "fontWeight": "bolder"
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 3,
                        "top": 81,
                        "height": 9.75,
                        "width": 144,
                        "title": "客户编号",
                        "field": "materialCode",
                        "testData": "WZ1742815275795120",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0,
                        "right": 141,
                        "bottom": 82.5,
                        "vCenter": 69,
                        "hCenter": 77.625,
                        "qid": "materialCode_1",
                        "hideTitle": true
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 1.5,
                        "top": 100.5,
                        "height": 9.75,
                        "width": 120,
                        "title": "品牌名称",
                        "right": 121.5,
                        "bottom": 112.5,
                        "vCenter": 61.5,
                        "hCenter": 107.625,
                        "field": "brandName",
                        "testData": "长城精工",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 1.5,
                        "top": 115.5,
                        "height": 9.75,
                        "width": 120,
                        "title": "规格型号",
                        "right": 121.5,
                        "bottom": 124.5,
                        "vCenter": 61.5,
                        "hCenter": 119.625,
                        "field": "specType",
                        "testData": "长城尺-306",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "fontSize": 10.5,
                        "qrCodeLevel": 0,
                        "qid": "brandName_1"
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 1.5,
                        "top": 133.5,
                        "height": 9.75,
                        "width": 144,
                        "title": "批次号",
                        "field": "batchNo",
                        "testData": "PCH-1743475867857",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0,
                        "right": 141,
                        "bottom": 144.75,
                        "vCenter": 69,
                        "hCenter": 139.875,
                        "qid": "materialCode_2"
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 45,
                        "top": 147,
                        "height": 9.75,
                        "width": 30,
                        "hideTitle": true,
                        "title": "100",
                        "right": 87.24609375,
                        "bottom": 150.99609375,
                        "vCenter": 66.24609375,
                        "hCenter": 146.12109375,
                        "field": "unitCount",
                        "testData": "100",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "fontSize": 12,
                        "qrCodeLevel": 0,
                        "fontWeight": "bolder"
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 76.5,
                        "top": 147,
                        "height": 9.75,
                        "width": 9,
                        "hideTitle": true,
                        "title": "/",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0,
                        "right": 84.75,
                        "bottom": 150.75,
                        "vCenter": 80.25,
                        "hCenter": 145.875,
                        "fontWeight": "bolder"
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 82.5,
                        "top": 147,
                        "height": 9.75,
                        "width": 42,
                        "hideTitle": true,
                        "title": "个",
                        "right": 124.5,
                        "bottom": 150.75,
                        "vCenter": 103.5,
                        "hCenter": 145.875,
                        "field": "baseUnit",
                        "testData": "个",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0,
                        "fontWeight": "bolder"
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 0,
                        "top": 148.5,
                        "height": 9.75,
                        "width": 48,
                        "title": "物资数量：",
                        "testData": "100",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0,
                        "right": 49.5,
                        "bottom": 150,
                        "vCenter": 25.5,
                        "hCenter": 145.125
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 1.5,
                        "top": 171,
                        "height": 16,
                        "width": 129,
                        "field": "createTime",
                        "testData": "2018-01-01 12:50:30",
                        "fontSize": 8.25,
                        "fontWeight": "700",
                        "textAlign": "left",
                        "textContentVerticalAlign": "middle",
                        "layoutType": "layout-date",
                        "title": "创建日期",
                        "qid": "createTime",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0,
                        "right": 121.5,
                        "bottom": 181.75,
                        "vCenter": 61.5,
                        "hCenter": 173.75
                    },
                    "printElementType": {
                        "title": "创建日期",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 7.5,
                        "top": 193.5,
                        "height": 32,
                        "width": 120,
                        "field": "barCode",
                        "testData": "XS888888888",
                        "fontSize": 12,
                        "lineHeight": 18,
                        "textAlign": "left",
                        "textType": "barcode",
                        "hideTitle": true,
                        "title": "条形码",
                        "qid": "layout-type-barcode",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0,
                        "right": 129,
                        "bottom": 216.5,
                        "vCenter": 69,
                        "hCenter": 200.5
                    },
                    "printElementType": {
                        "title": "条形码",
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 16.5,
                        "top": 232.5,
                        "height": 9.75,
                        "width": 103.5,
                        "title": "编号",
                        "right": 118.5,
                        "bottom": 233.25,
                        "vCenter": 66.75,
                        "hCenter": 228.375,
                        "field": "barCode",
                        "testData": "174347587252168660",
                        "coordinateSync": false,
                        "widthHeightSync": false,
                        "qrCodeLevel": 0,
                        "hideTitle": true
                    },
                    "printElementType": {
                        "title": "文本",
                        "type": "text"
                    }
                }
            ],
            "paperNumberLeft": 199.5,
            "paperNumberTop": 361.5,
            "paperNumberDisabled": true,
            "paperNumberContinue": true,
            "watermarkOptions": {

            },
            "panelLayoutOptions": {

            }
        }
    ]
}

export const printData = [
    {
        "barCode": "174419165648327074",
        "baseUnit": "袋",
        "batchNo": "PCH-1744191647733",
        "brandName": "卡元",
        "changeRecordList": null,
        "clientCoverImgUrl": "2025/03/24/b5aaa41556ea4734ba26b500cfa9a900.png",
        "clientItemId": 271,
        "clientMaterialCode": "WZ1742812836559968",
        "clientMaterialName": "压缩饼干",
        "coverImgUrl": "2025/03/24/b5aaa41556ea4734ba26b500cfa9a900.png",
        "createBy": "admin",
        "createTime": "2025-04-09 17:40:56",
        "expiryTime": "2025-04-24 00:00:00",
        "id": 2444,
        "maintenanceTime": null,
        "manualFileList": null,
        "materialCode": "WZ1742812836559968",
        "materialName": "压缩饼干",
        "mdItemId": 91,
        "orderGenCode": null,
        "perAscription": null,
        "positionCode": null,
        "remark": null,
        "source": "自主生成",
        "specType": "42g/袋",
        "status": "未启用",
        "tenantId": 0,
        "tenantName": "运营平台",
        "type": null,
        "unitCount": 10,
        "unitWeight": 420,
        "updateBy": "admin",
        "updateTime": "2025-04-09 17:40:56",
        "warehouseId": null,
        "warehouseName": null
    },
    {
        "barCode": "1744191656483457510",
        "baseUnit": "袋",
        "batchNo": "PCH-1744191647733",
        "brandName": "卡元",
        "changeRecordList": null,
        "clientCoverImgUrl": "2025/03/24/b5aaa41556ea4734ba26b500cfa9a900.png",
        "clientItemId": 271,
        "clientMaterialCode": "WZ1742812836559968",
        "clientMaterialName": "压缩饼干",
        "coverImgUrl": "2025/03/24/b5aaa41556ea4734ba26b500cfa9a900.png",
        "createBy": "admin",
        "createTime": "2025-04-09 17:40:56",
        "expiryTime": "2025-04-24 00:00:00",
        "id": 2444,
        "maintenanceTime": null,
        "manualFileList": null,
        "materialCode": "WZ1742812836559968",
        "materialName": "压缩饼干",
        "mdItemId": 91,
        "orderGenCode": null,
        "perAscription": null,
        "positionCode": null,
        "remark": null,
        "source": "自主生成",
        "specType": "42g/袋",
        "status": "未启用",
        "tenantId": 0,
        "tenantName": "运营平台",
        "type": null,
        "unitCount": 10,
        "unitWeight": 420,
        "updateBy": "admin",
        "updateTime": "2025-04-09 17:40:56",
        "warehouseId": null,
        "warehouseName": null
    }
]
